﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NextInventory.Common;
using NextInventory.Model.Party;
namespace NextInventory.Model.Purchase
{
    public class PurchaseModel : BaseViewModel
    {
        public long ID { get; set; }
        public DateTime PurchaseDate { get; set; }
        public int PartyId { get; set; }
        public int ModeOfPaymentId { get; set; }
        public int TotalQty { get; set; }
        public decimal TotalAmount { get; set; }
        public DateTime? UPdateDate { get; set; }
        public int UserId { get; set; }

        public ModeOfPayment ModeOfPayment { get; set; }
        public List<PartyModel> Party { get; set; }

        public PurchaseModel()
        {
            ModeOfPayment = new ModeOfPayment();
            Party = new List<PartyModel>();
        }
    }
}